import request from '@/utils/request'


// 值班信息
export function dutyInfo() {
    return request({
      url: '/duty/dutyInfo',
      method: 'get',
    })
  }

//值班信息全部
export function allDutyInfo() {
    return request({
      url: '/duty/allDutyInfo',
      method: 'get',
    })
}

// 开始作业
export function startWork(data) {
    return request({
      url: '/duty/startWork',
      method: 'post',
      data
    })
}

//结束作业
export function endWork(data) {
    return request({
      url: '/duty/endWork',
      method: 'post',
      data
    })
}

//强制下线
export function forceWork(data) {
    return request({
      url: '/duty/forceWork',
      method: 'post',
      data
    })
}




